﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display.GateUI {
    import org.aswing.ext.*;

    public class KeyCellCrewFactory implements GridListCellFactory {

        private var m_dataList:Array;
        private var m_index:int;

        public function KeyCellCrewFactory(_arg1:Array){
            this.m_dataList = _arg1;
            this.m_index = 0;
        }
        public function createNewGridListCell():GridListCell{
            var _local1:Object = this.m_dataList[this.m_index];
            this.m_index++;
            return (new CrewKeyCell(_local1.url, _local1.name, _local1.cost, _local1.count, _local1.footerText, _local1.backgroundClass, _local1.displayObjectClass));
        }

    }
}//package Display.GateUI 
